package com.gurun.camera.device.bean;

import com.danale.player.listener.MediaState;
import com.danale.sdk.platform.constant.device.OnlineType;
import com.danale.sdk.platform.constant.device.ProductType;

import java.util.List;

public abstract class VideoDevice {
    String device_id;
    List<ProductType> deviceType;
    int chan_num;
    int total_chan;
    int avilable_chan;
    OnlineType onlineType;

    public abstract MediaState getVideoState(int chan);
    public abstract MediaState getAudioState(int chan);
    public abstract MediaState getTalkState(int chan);
    public abstract MediaState getRecordState(int chan);

    public abstract void setVideoState(int chan, MediaState state);
    public abstract void setAudioState(int chan, MediaState state);
    public abstract void setTalkState(int chan, MediaState state);
    public abstract void setRecordState(int chan, MediaState state);

    public String getDevice_id() {
        return device_id;
    }
//
//    public void setId(String id) {
//        this.id = id;
//    }

    public List<ProductType> getDeviceType() {
        return deviceType;
    }
//
//    public void setDeviceType(DeviceType deviceType) {
//        this.deviceType = deviceType;
//    }

    public int getChan_num() {
        return chan_num;
    }

    public void setChan_num(int chan_num) {
        this.chan_num = chan_num;
    }

    public int getTotal_chan() {
        return total_chan;
    }
//
//    public void setTotal_chan(int total_chan) {
//        this.total_chan = total_chan;
//    }

    public int getAvilable_chan() {
        return avilable_chan;
    }
//
//    public void setAviliable_chan(int avilable_chan) {
//        this.avilable_chan = avilable_chan;
//    }


    public OnlineType getOnlineType() {
        return onlineType;
    }
}
